package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;

/**
 * 医院员工表
 * author:dongHeng
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TWork {
    private  Integer id;
    private  String wkAccout;
    private  String wkPassword;
    private  String wkName;
    private  String wkGender;
    private  String wkPhone;
    private  Integer wkAge;
    private  Integer wkDepartmentid;//科室id
    private  String deName;//科室名称
    private  Integer wkHdepartmentid;//部门id
    private  String ptDepName;//部门名称
    private  Integer wkRoleid;//角色id
    private String rName;//角色名称
    @DateTimeFormat(pattern = "YYYY-MM-DD HH:MM:SS")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private  String wkIndate;
    private BigDecimal wkSalary;
    private  Integer wkStatus;//0是离职，1是在职
    private  String wkEmail;

}
